#ifndef GAME_STAGE_H
#define GAME_STAGE_H

#define fe(a) game_stage::self()->_fe[a]
#define ie(a) game_stage::self()->_ie[a]

#include "common.h"

#define GSI_CARTS_NUM 0
#define GSI_NUM 1		//game stage integer

#define GSF_PLAYER_SPEED 0		//z
#define GSF_PLAYER_MAXSPEED 1
#define GSF_PLAYER_MAXSIDESPEED 2
#define GSF_PLAYER_TURN 3
#define GSF_PLAYER_MAXTURN 4
#define GSF_PLAYER_FRICTION_FRONT 6
#define GSF_PLAYER_FRICTION_SIDE 5
#define GSF_PLAYER_FRICTION_ROTATE 7
#define GSF_NUM	8		//game stage float


class game_stage {
	private:
		game_stage();
	public:
		static game_stage * self();

		int load_settings();
		int save_settings();

		float _fe[GSF_NUM];
		int _ie[GSI_NUM];
};

#endif
